package com.changgou.goods.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @author Sherlock
 * @date 2020/3/31 下午 4:22
 */
@Table(name = "tb_auditing")
public class Auditing implements Serializable {

    /**
     * 审核日志记录id
     */
    @Id
    private String id;

    /**
     * 商品spu主键Id
     */
    private String spuId;
    /**
     * 操作时间
     */
    private Date time;
    /**
     * 操作者
     */
    private String operator;
    /**
     * 审核结果: 0-->审核不通过,1-->审核通过
     */
    private String result;
    /**
     * 反馈详情
     */
    private String information;

    public Auditing() {
    }

    public Auditing(String id, String spuId, Date time, String operator, String result, String information) {
        this.id = id;
        this.spuId = spuId;
        this.time = time;
        this.operator = operator;
        this.result = result;
        this.information = information;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSpuId() {
        return spuId;
    }

    public void setSpuId(String spuId) {
        this.spuId = spuId;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getInformation() {
        return information;
    }

    public void setInformation(String information) {
        this.information = information;
    }
}
